package com.example.light.web.personal.service;

import com.example.light.web.personal.vo.ScheduleVO;
import com.example.light.web.system.entity.User;

import java.util.List;

public interface ScheduleService {
    List<ScheduleVO> showSchedules(User user);

    boolean addSchedule(ScheduleVO schedule, Integer userId);

    void delSchedule(Integer id);

    void finish(Integer id);

    ScheduleVO showOneSchedule(Integer scheduleId);

    boolean modifySchedule(ScheduleVO scheduleVO, Integer userId);
}
